/**
 * 
 */
package com.yunyike.dto.cart;

import com.yunyike.model.Rule;

/**
 * @author zhengqiang.shi
 * 2016年4月17日 下午10:18:17
 */
public class CartMerchandise implements java.io.Serializable{

	private static final long serialVersionUID = -8578737862063908778L;

	// 商品id
	private String merchandiseId;
	
	// 商品编号
	private String merchandiseNumber;
	
	// 商品名称
	private String merchandiseNameCn;
	
	// 商品规格名称
	private String merchandiseSpec;
	
	// 商品价格
	private Double merchandisePrice;
	
	// 商品国内价格
	private Double merchandiseDomesticPrice;
	
	// 商品图片地址
	private String merchandiseIcon;
	
	// 商品是否选中
	private boolean isSelect = true;
	
	// 商品数量
	private Integer merchandiseQty;
	
	// 商品库存数量
	private Integer merchandiseStockQty;

	// 商品上下架
	private Integer isSoldOut;
	
	// 店铺信息
	private CartShop cartShop;
	
	// 活动信息
	private CartPromotion cartPromotion;
	
	// 活动规则信息
	private Rule rule;
	
	/**
	 * @return the merchandiseId
	 */
	public String getMerchandiseId() {
		return merchandiseId;
	}

	/**
	 * @param merchandiseId the merchandiseId to set
	 */
	public void setMerchandiseId(String merchandiseId) {
		this.merchandiseId = merchandiseId;
	}

	/**
	 * @return the merchandiseNumber
	 */
	public String getMerchandiseNumber() {
		return merchandiseNumber;
	}

	/**
	 * @param merchandiseNumber the merchandiseNumber to set
	 */
	public void setMerchandiseNumber(String merchandiseNumber) {
		this.merchandiseNumber = merchandiseNumber;
	}

	/**
	 * @return the merchandiseNameCn
	 */
	public String getMerchandiseNameCn() {
		return merchandiseNameCn;
	}

	/**
	 * @param merchandiseNameCn the merchandiseNameCn to set
	 */
	public void setMerchandiseNameCn(String merchandiseNameCn) {
		this.merchandiseNameCn = merchandiseNameCn;
	}

	/**
	 * @return the merchandiseSpec
	 */
	public String getMerchandiseSpec() {
		return merchandiseSpec;
	}

	/**
	 * @param merchandiseSpec the merchandiseSpec to set
	 */
	public void setMerchandiseSpec(String merchandiseSpec) {
		this.merchandiseSpec = merchandiseSpec;
	}

	/**
	 * @return the merchandisePrice
	 */
	public Double getMerchandisePrice() {
		return merchandisePrice;
	}

	/**
	 * @param merchandisePrice the merchandisePrice to set
	 */
	public void setMerchandisePrice(Double merchandisePrice) {
		this.merchandisePrice = merchandisePrice;
	}

	/**
	 * @return the merchandiseDomesticPrice
	 */
	public Double getMerchandiseDomesticPrice() {
		return merchandiseDomesticPrice;
	}

	/**
	 * @param merchandiseDomesticPrice the merchandiseDomesticPrice to set
	 */
	public void setMerchandiseDomesticPrice(Double merchandiseDomesticPrice) {
		this.merchandiseDomesticPrice = merchandiseDomesticPrice;
	}

	/**
	 * @return the merchandiseIcon
	 */
	public String getMerchandiseIcon() {
		return merchandiseIcon;
	}

	/**
	 * @param merchandiseIcon the merchandiseIcon to set
	 */
	public void setMerchandiseIcon(String merchandiseIcon) {
		this.merchandiseIcon = merchandiseIcon;
	}

	/**
	 * @return the isSelect
	 */
	public boolean isSelect() {
		return isSelect;
	}

	/**
	 * @param isSelect the isSelect to set
	 */
	public void setSelect(boolean isSelect) {
		this.isSelect = isSelect;
	}

	/**
	 * @return the merchandiseQty
	 */
	public Integer getMerchandiseQty() {
		return merchandiseQty;
	}

	/**
	 * @param merchandiseQty the merchandiseQty to set
	 */
	public void setMerchandiseQty(Integer merchandiseQty) {
		this.merchandiseQty = merchandiseQty;
	}

	/**
	 * @return the merchandiseStockQty
	 */
	public Integer getMerchandiseStockQty() {
		return merchandiseStockQty;
	}

	/**
	 * @param merchandiseStockQty the merchandiseStockQty to set
	 */
	public void setMerchandiseStockQty(Integer merchandiseStockQty) {
		this.merchandiseStockQty = merchandiseStockQty;
	}

	/**
	 * @return the isSoldOut
	 */
	public Integer getIsSoldOut() {
		return isSoldOut;
	}

	/**
	 * @param isSoldOut the isSoldOut to set
	 */
	public void setIsSoldOut(Integer isSoldOut) {
		this.isSoldOut = isSoldOut;
	}

	/**
	 * @return the cartShop
	 */
	public CartShop getCartShop() {
		return cartShop;
	}

	/**
	 * @param cartShop the cartShop to set
	 */
	public void setCartShop(CartShop cartShop) {
		this.cartShop = cartShop;
	}

	/**
	 * @return the cartPromotion
	 */
	public CartPromotion getCartPromotion() {
		return cartPromotion;
	}

	/**
	 * @param cartPromotion the cartPromotion to set
	 */
	public void setCartPromotion(CartPromotion cartPromotion) {
		this.cartPromotion = cartPromotion;
	}

	public Rule getRule() {
		return rule;
	}

	public void setRule(Rule rule) {
		this.rule = rule;
	}
	
	
}
